home *** CD-ROM | disk | FTP | other *** search
Wrap
var §\x01§ = 804; while(true) { if(eval("\x01") == 804) { set("\x01",eval("\x01") + 83); §§push(true); } else if(eval("\x01") == 8) { set("\x01",eval("\x01") + 516); if(§§pop()) { set("\x01",eval("\x01") - 192); } } else if(eval("\x01") == 914) { set("\x01",eval("\x01") - 161); if(§§pop()) { set("\x01",eval("\x01") - 279); } } else if(eval("\x01") == 66) { set("\x01",eval("\x01") + 848); §§push(true); } else if(eval("\x01") == 474) { set("\x01",eval("\x01") + 93); §§push(true); } else { if(eval("\x01") == 524) { set("\x01",eval("\x01") - 192); §§push(§§pop() >>> (§§pop() | §§pop()[§§pop()])); break; } if(eval("\x01") == 753) { set("\x01",eval("\x01") - 279); §§push(§§pop() >>> §§pop()); break; } if(eval("\x01") == 959) { set("\x01",eval("\x01") - 893); break; } if(eval("\x01") == 332) { set("\x01",eval("\x01") + 206); if(!_global.mx) { _global.mx = new Object(); } §§pop(); if(!_global.mx.controls) { _global.mx.controls = new Object(); } §§pop(); if(!_global.mx.controls.NumericStepper) { mx.controls.NumericStepper.prototype = new mx.core.UIComponent().init = function() { super.init(); this.boundingBox_mc._visible = false; this.boundingBox_mc._width = this.boundingBox_mc._height = 0; this._visible = false; this.tabEnabled = false; this.tabChildren = true; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().setVisible = function(x, noEvent) { super.setVisible(x,noEvent); if(this.initializing) { this.__visible = x; } }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().layoutControl = function() { this.nextButton_mc._x = this.__width - this.nextButton_mc.__width; this.nextButton_mc._y = 0; this.prevButton_mc._x = this.__width - this.prevButton_mc.__width; this.prevButton_mc._y = this.__height - this.prevButton_mc.__height; this.inputField.setSize(this.__width - this.nextButton_mc.__width,this.__height); this.StepTrack_mc._width = Math.max(this.nextButton_mc.__width,this.prevButton_mc.__width); this.StepTrack_mc._x = this.__width - this.StepTrack_mc._width; this.StepTrack_mc._height = this.__height - (this.nextButton_mc._height + this.prevButton_mc._height); this.StepTrack_mc._y = this.nextButton_mc.__height; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().createChildren = function() { super.createChildren(); this.addAsset("nextButton_mc",this.skinIDUpArrow); this.addAsset("prevButton_mc",this.skinIDDownArrow); this.addAsset("inputField",this.skinIDInput); this.focusTextField = this.inputField.label; this.createObject("StepTrack","StepTrack_mc",2); this.size(); }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().draw = function() { this.prevButton_mc.enabled = this.enabled; this.nextButton_mc.enabled = this.enabled; this.inputField.enabled = this.enabled; this.size(); this.initializing = false; this.visible = this.__visible; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().size = function() { var _loc2_ = this.calcMinHeight(); var _loc3_ = this.calcMinWidth(); if(this.__height < _loc2_) { this.setSize(this.__width,_loc2_); } if(this.__width < _loc3_) { this.setSize(_loc3_,this.__height); } this.layoutControl(); }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().calcMinHeight = function() { return 22; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().calcMinWidth = function() { return 40; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().addAsset = function(id, skinID) { var _loc2_ = new Object(); _loc2_.styleName = this; if(skinID == 10) { _loc2_.falseUpSkin = this.upArrowUp; _loc2_.falseOverSkin = this.upArrowOver; _loc2_.falseDownSkin = this.upArrowDown; _loc2_.falseDisabledSkin = this.upArrowDisabled; this.createClassObject(mx.controls.SimpleButton,id,skinID,_loc2_); var _loc5_ = this.nextButton_mc; _loc5_.tabEnabled = false; _loc5_.styleName = this; _loc5_._x = this.__width - _loc5_.__width; _loc5_._y = 0; _loc5_.owner = this; _loc5_.autoRepeat = true; _loc5_.clickHandler = function() { Selection.setSelection(0,0); }; _loc5_.buttonDownHandler = function() { this.owner.buttonPress(this); }; } else if(skinID == 11) { _loc2_.falseUpSkin = this.downArrowUp; _loc2_.falseOverSkin = this.downArrowOver; _loc2_.falseDownSkin = this.downArrowDown; _loc2_.falseDisabledSkin = this.downArrowDisabled; this.createClassObject(mx.controls.SimpleButton,id,skinID,_loc2_); var _loc3_ = this.prevButton_mc; _loc3_.tabEnabled = false; _loc3_.styleName = this; _loc3_._x = this.__width - _loc3_.__width; _loc3_._y = this.__height - _loc3_.__height; _loc3_.owner = this; _loc3_.autoRepeat = true; _loc3_.clickHandler = function() { Selection.setSelection(0,0); }; _loc3_.buttonDownHandler = function() { this.owner.buttonPress(this); }; } else if(skinID == 9) { this.createClassObject(mx.controls.TextInput,id,skinID); var _loc4_ = this.inputField; _loc4_.styleName = this; _loc4_.setSize(this.__width - this.nextButton_mc.__width,this.__height); _loc4_.restrict = "0-9\\-\\.\\,"; _loc4_.maxChars = this.__maxChars; _loc4_.text = this.value; _loc4_.onSetFocus = function() { this._parent.onSetFocus(); }; _loc4_.onKillFocus = function() { this._parent.onKillFocus(); }; _loc4_.drawFocus = function(b) { this._parent.drawFocus(b); }; _loc4_.onKeyDown = function() { this._parent.onFieldKeyDown(); }; } }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().setFocus = function() { Selection.setFocus(this.inputField); }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().onKillFocus = function() { mx.managers.SystemManager.form.focusManager.defaultPushButtonEnabled = true; super.onKillFocus(); Key.removeListener(this.inputField); if(Number(this.inputField.text) != this.value) { var _loc3_ = this.checkValidValue(Number(this.inputField.text)); this.inputField.text = _loc3_; this.value = _loc3_; this.dispatchEvent({type:"change"}); } }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().onSetFocus = function() { super.onSetFocus(); Key.addListener(this.inputField); mx.managers.SystemManager.form.focusManager.defaultPushButtonEnabled = false; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().onFieldKeyDown = function() { var _loc2_ = this.value; switch(Key.getCode()) { case 40: var _loc3_ = this.value - this.stepSize; this.value = _loc3_; if(_loc2_ != this.value) { this.dispatchEvent({type:"change"}); } break; case 38: _loc3_ = this.stepSize + this.value; this.value = _loc3_; if(_loc2_ != this.value) { this.dispatchEvent({type:"change"}); } break; case 36: this.inputField.text = this.minimum; this.value = this.minimum; if(_loc2_ != this.value) { this.dispatchEvent({type:"change"}); } break; case 35: this.inputField.text = this.maximum; this.value = this.maximum; if(_loc2_ != this.value) { this.dispatchEvent({type:"change"}); } break; case 13: this.value = Number(this.inputField.text); if(_loc2_ != this.value) { this.dispatchEvent({type:"change"}); break; } } }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__nextValue = function() { if(this.checkRange(this.value + this.stepSize)) { this.__nextValue = this.value + this.stepSize; return this.__nextValue; } }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__previousValue = function() { if(this.checkRange(this.__value - this.stepSize)) { this.__previousValue = this.value - this.stepSize; return this.__previousValue; } }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__set__maxChars = function(num) { this.__maxChars = num; this.inputField.maxChars = this.__maxChars; return this.maxChars; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__maxChars = function() { return this.__maxChars; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__value = function() { return this.__value; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__set__value = function(v) { var _loc2_ = this.checkValidValue(v); if(_loc2_ == this.__value) { return undefined; } this.inputField.text = this.__value = _loc2_; return this.value; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__minimum = function() { return this.__minimum; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__set__minimum = function(v) { this.__minimum = v; return this.minimum; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__maximum = function() { return this.__maximum; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__set__maximum = function(v) { this.__maximum = v; return this.maximum; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__stepSize = function() { return this.__stepSize; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__set__stepSize = function(v) { this.__stepSize = v; return this.stepSize; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().onFocus = function() { }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().buttonPress = function(button) { var _loc2_ = this.value; if(button._name == "nextButton_mc") { this.value += this.stepSize; } else { this.value -= this.stepSize; } if(_loc2_ != this.value) { this.dispatchEvent({type:"change"}); Selection.setSelection(0,0); } }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().checkRange = function(v) { return v >= this.minimum and v <= this.maximum; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().checkValidValue = function(val) { var _loc7_ = val / this.stepSize; var _loc9_ = Math.floor(_loc7_); var _loc2_ = this.stepSize; var _loc6_ = this.minimum; var _loc5_ = this.maximum; if(val > _loc6_ and val < _loc5_) { if(_loc7_ - _loc9_ == 0) { return val; } var _loc8_ = Math.floor(val / _loc2_); var _loc4_ = _loc8_ * _loc2_; if(val - _loc4_ >= _loc2_ / 2 && _loc5_ >= _loc4_ + _loc2_ && _loc6_ <= _loc4_ - _loc2_ || val + _loc2_ == _loc5_ && _loc5_ - _loc4_ - _loc2_ > 1e-14) { _loc4_ += _loc2_; } return _loc4_; } if(val >= _loc5_) { return _loc5_; } return _loc6_; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().onLabelChanged = function(o) { var _loc2_ = this.checkValidValue(Number(o.text)); o.text = _loc2_; this.value = _loc2_; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__tabIndex = function() { return this.inputField.tabIndex; }; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__set__tabIndex = function(w) { this.inputField.tabIndex = w; return this.tabIndex; }; mx.controls.NumericStepper = function() { super(); }.symbolName = "NumericStepper"; mx.controls.NumericStepper = function() { super(); }.symbolOwner = mx.controls.NumericStepper; mx.controls.NumericStepper = function() { super(); }.version = "2.0.2.126"; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().className = "NumericStepper"; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().upArrowUp = "StepUpArrowUp"; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().upArrowDown = "StepUpArrowDown"; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().upArrowOver = "StepUpArrowOver"; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().upArrowDisabled = "StepUpArrowDisabled"; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().downArrowUp = "StepDownArrowUp"; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().downArrowDown = "StepDownArrowDown"; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().downArrowOver = "StepDownArrowOver"; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().downArrowDisabled = "StepDownArrowDisabled"; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().skinIDUpArrow = 10; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().skinIDDownArrow = 11; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().skinIDInput = 9; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().initializing = true; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__visible = true; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__minimum = 0; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__maximum = 10; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__stepSize = 1; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__value = 0; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__nextValue = 0; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__previousValue = 0; mx.controls.NumericStepper.prototype = new mx.core.UIComponent().clipParameters = {minimum:1,maximum:1,stepSize:1,value:1,maxChars:1}; mx.controls.NumericStepper = function() { super(); }.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.NumericStepper.prototype.clipParameters,mx.core.UIComponent.prototype.clipParameters); §§push((mx.controls.NumericStepper.prototype = new mx.core.UIComponent()).addProperty("maxChars",mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__maxChars,mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__set__maxChars)); §§push((mx.controls.NumericStepper.prototype = new mx.core.UIComponent()).addProperty("maximum",mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__maximum,mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__set__maximum)); §§push((mx.controls.NumericStepper.prototype = new mx.core.UIComponent()).addProperty("minimum",mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__minimum,mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__set__minimum)); §§push((mx.controls.NumericStepper.prototype = new mx.core.UIComponent()).addProperty("nextValue",mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__nextValue,function() { } )); §§push((mx.controls.NumericStepper.prototype = new mx.core.UIComponent()).addProperty("previousValue",mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__previousValue,function() { } )); §§push((mx.controls.NumericStepper.prototype = new mx.core.UIComponent()).addProperty("stepSize",mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__stepSize,mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__set__stepSize)); §§push((mx.controls.NumericStepper.prototype = new mx.core.UIComponent()).addProperty("tabIndex",mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__tabIndex,mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__set__tabIndex)); §§push((mx.controls.NumericStepper.prototype = new mx.core.UIComponent()).addProperty("value",mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__get__value,mx.controls.NumericStepper.prototype = new mx.core.UIComponent().__set__value)); §§push(ASSetPropFlags(mx.controls.NumericStepper.prototype,null,1)); } §§pop(); break; } if(eval("\x01") == 961) { set("\x01",eval("\x01") - 658); break; } if(eval("\x01") == 14) { set("\x01",eval("\x01") + 77); break; } if(eval("\x01") == 732) { set("\x01",eval("\x01") - 718); if(§§pop()) { set("\x01",eval("\x01") + 77); } } else if(eval("\x01") == 91) { set("\x01",eval("\x01") - 83); §§push(true); } else if(eval("\x01") == 303) { set("\x01",eval("\x01") + 429); §§push(true); } else if(eval("\x01") == 887) { set("\x01",eval("\x01") + 72); if(§§pop()) { set("\x01",eval("\x01") - 893); } } else { if(eval("\x01") != 567) { break; } set("\x01",eval("\x01") + 394); if(§§pop()) { set("\x01",eval("\x01") - 658); } } } }